<div class="pageContent">
	<form action="<?php echo url('system/taobaoset');?>" method="post" onsubmit="return validateCallback(this,dialogAjaxDone)">
		<div class="pageFormContent" layoutH="60">
			
			<?php 
				$token = Acct::find('id = ?',$_SESSION['acct']['id'])->setColumns('id,tbtoken')->getOne();
			?>
				<p>
				<label>淘宝账号：</label>
				<?php echo $acct->buyer_nick;?>
				</p>
				
				
				<p>
				<label>自动充值：</label>
				<select name="flag">
				<option value="0" <?php echo $acct->taobao_flag == 0 ? 'selected':''?>>关闭</option>
				</select>
				</p>
				<p>
				<label>说明：</label>绑定并且打开后,淘宝购买了宝贝自动充值到绑定的代理账号上,如果需要更换请先关闭再重新绑定
				</p>
				
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button class="close" type="button">取消</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>
</div> 
